/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package beanView;

import Modelos.Ocasional;
import java.io.Serializable;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;

/**
 *
 * @author brayitan
 */
@ManagedBean
@ViewScoped
public class beanCreateOcasional implements Serializable{

    private Ocasional O = new Ocasional();

    public String reinit() {
        O = new Ocasional();
        return null;
    }

    public Ocasional getO() {
        return O;
    }

    public void setO(Ocasional O) {
        this.O = O;
    }
}
